<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script>
		//console.log(n2);
	</script>
</head>
<body>
	<h1> JS 变量</h1>
	<hr>
	<script>
		//变量 = '值';
		//console.log(变量);
		
		var n = 'JS';
		var $n = 'JS';

		var n1 = 11,n2 = 22, n3 = 33;
		var n4 = n5 = n6 = 666;
		console.log(n);
		console.log($n);
		console.log(n2);
		console.log(n6);
	</script>
	<script>
		console.log(n6);
	</script>
</body>
</html>